package com.wakaca.design.pattern.behavioral.iterator;

/**
 * 课程集合即可
 * Created by wakaca.
 * aggregate ['æɡrɪɡət; (for v.) æɡrɪˌɡet]vt. 集合；聚集；合计
 */
public interface CourseAggregate {
    void addCourse(Course course);
    void removeCourse(Course course);

    // 获取课程的迭代器
    CourseIterator getCourseIterator();
}
